package com.baseframe.sys.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 
 * @author mzl
 * @date 2018/4/11 14:02
 *
 */
@Entity
@Table(name = "Frame_Ou")
public class FrameOu implements Serializable {
	private static final long serialVersionUID = 6991739804555923153L;
	
	@Id
    private String ouguid;
	private String ouname;
	private String oushortname;
	private Integer ordernumber;
	private String parentouguid;
	private String baseouguid;
	private String address;
	private String tel;
	private String remark;
	private Integer issubwebflow;
	private String postalcode;
	private Date createTime;
    private Date updateTime;
    @Transient
    private List<?> list;
    
    /**
     * 父名称
     */
    @Transient
    private String parentName;
    /**
     * ztree属性
     */
    @Transient
    private Boolean open;
	public String getOuguid() {
		return ouguid;
	}
	public void setOuguid(String ouguid) {
		this.ouguid = ouguid;
	}
	public String getOuname() {
		return ouname;
	}
	public void setOuname(String ouname) {
		this.ouname = ouname;
	}
	public String getOushortname() {
		return oushortname;
	}
	public void setOushortname(String oushortname) {
		this.oushortname = oushortname;
	}
	public Integer getOrdernumber() {
		return ordernumber;
	}
	public void setOrdernumber(Integer ordernumber) {
		this.ordernumber = ordernumber;
	}
	public String getParentouguid() {
		return parentouguid;
	}
	public void setParentouguid(String parentouguid) {
		this.parentouguid = parentouguid;
	}
	public String getBaseouguid() {
		return baseouguid;
	}
	public void setBaseouguid(String baseouguid) {
		this.baseouguid = baseouguid;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getIssubwebflow() {
		return issubwebflow;
	}
	public void setIssubwebflow(Integer issubwebflow) {
		this.issubwebflow = issubwebflow;
	}
	public String getPostalcode() {
		return postalcode;
	}
	public void setPostalcode(String postalcode) {
		this.postalcode = postalcode;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public List<?> getList() {
		return list;
	}
	public void setList(List<?> list) {
		this.list = list;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public Boolean getOpen() {
		return open;
	}
	public void setOpen(Boolean open) {
		this.open = open;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
    
    
	

}
